package com.java.comprehensive.design.structural_model.decorator_pattern;

/**
 * 具体构建角色
 */
public class FriedNoodles extends FastFood {
    public FriedNoodles() {
        super(15, "炒面");
    }

    public FriedNoodles(float price, String desc) {
        super(price, desc);
    }

    @Override
    float cost() {
        return super.getPrice();
    }
}
